package org.sixtynine.stock.service;

/**
 * @author Thilan
 *
 */

import java.util.Date;
import java.util.List;

import org.sixtynine.stock.dto.GridPramDTO;
import org.sixtynine.stock.dto.Page;
import org.sixtynine.stock.entity.WeeklyShareData;

/**
 * @author Thilan
 * 
 */
public interface WeeklyShareDataService {

	WeeklyShareData findById(int id);

	void saveWeeklyShareData(WeeklyShareData weeklyShareData);

	void deleteWeeklyShareData(int id);

	List<WeeklyShareData> findWeeklyShareData(int id);

	List<WeeklyShareData> searchWeeklyShareData(int companyId, Date fromDate,
			Date toDate, String orderBy, String orderByName);

	Page<WeeklyShareData> searchWeeklyShareData(int companyId, Date fromDate,
			Date toDate, String orderBy, String orderByName,
			GridPramDTO gridPramDTO);

	public void deleteWeeklyShareData(int companyId, Date fromDate, Date toDate);
}
